<?php 
  require_once 'simple_html_dom.php';
  
  function getContent($path){
  	  
  	  ini_set('default_socket_timeout', 120);
  	  
  	  $html = file_get_html($path);
  	  
  	  $acontent = $html->getElementById("frameNewAnimeuploads0");
  	  
  	  $src = $acontent->getAttribute("src");
  	  
  	  $file = fopen("content.txt",'a');
 	  fwrite($file,$src."\n");
	  fclose($file);
  	  
  	  echo "true";
  }
  
  getContent($_POST['url']);
?>